package com.hongyi.demo.domain.dto;

import com.hongyi.demo.domain.CeshiTree;
import com.hongyi.common.mybatis.domain.BaseEntity;
import com.hongyi.common.framework.validate.AddGroup;
import com.hongyi.common.framework.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 树表展示业务对象 ceshi_tree
 *
 * @author DingHao
 * @date 2025-01-18 20:10:49
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CeshiTree.class, reverseConvertGenerate = false)
public class CeshiTreeDto extends BaseEntity {

    /**
     * 树表主键
     */
    private Long addressId;

    /**
     * 城市名称
     */
    private String addressName;

    /**
     * 父Id
     */
    private Long parentId;


}
